<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'member-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>
	<div class="row">
		<?php echo $form->labelEx($model,'username',array('class'=>'control-label','for'=>'username')); ?>
		<?php echo $form->textField($model,'username',array('size'=>20,'maxlength'=>20,'class'=>'input-large')); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password',array('class'=>'control-label','for'=>'password')); ?>
		<?php echo $form->passwordField($model,'password',array('size'=>60,'maxlength'=>100,'class'=>'input-large')); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'activedate',array('class'=>'control-label','for'=>'activedate')); ?>
		<?php echo $form->textField($model,'activedate'); ?>
		<?php echo $form->error($model,'activedate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'amount',array('class'=>'control-label','for'=>'amount')); ?>
		<?php echo $form->textField($model,'amount',array('size'=>20,'maxlength'=>20,'class'=>'input-large')); ?>
		<?php echo $form->error($model,'amount'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'active',array('class'=>'control-label','for'=>'active')); ?>
		<?php echo $form->textField($model,'active'); ?>
		<?php echo $form->error($model,'active'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'vip',array('class'=>'control-label','for'=>'vip')); ?>
		<?php echo $form->textField($model,'vip'); ?>
		<?php echo $form->error($model,'vip'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->